package com.qingzhuge.pay.dto;

import com.google.common.collect.Maps;
import com.qingzhuge.dto.request.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Map;

/**
 * @author : zero.xiao
 * @description :
 * @date :2019-05-07 11:34
 * @modified :
 */
@ApiModel("订单退款")
@EqualsAndHashCode(callSuper = true)
@Data
public class PayRefundDto extends BaseRequestDto {
    @ApiModelProperty("支付id，默认为0")
    private long payId = 0;
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("退款原因，退款理由")
    private String refundDesc;
    /**终端设备号*/
    @ApiModelProperty("终端设备号")
    private String deviceInfo;
    @ApiModelProperty("自定义参数")
    private Map<String,Object> parameters = Maps.newHashMap();
}
